//
//  Parents.h
//  OC1_类和对象课后作业
//
//  Created by dllo on 15/10/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Parents : NSObject

{

    @public
    NSString *_sex;
    NSInteger _age;
    

}

-(void)info;

-(void)mother;


-(NSString *)sex;

-(void)setSex:(NSString *)sex;

-(NSInteger)age;

-(void)setAge:(NSInteger)age;

-(id)initWithSex:(NSString *)sex age:(NSInteger)age;


+ (id)parentsWithSex:(NSString *)sex age:(NSInteger)age;





@end
